package com.zhyonk;

import com.alibaba.nacos.api.config.annotation.NacosConfigurationProperties;
import com.zhyonk.config.propreties.BaiduProperties;
import com.zhyonk.config.propreties.HtmlToPdf;
import com.zhyonk.config.propreties.TianxinProperties;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * Hello world!
 *
 */
@SpringBootApplication
@EnableDiscoveryClient
@NacosConfigurationProperties(dataId = "pay",autoRefreshed = true)
@EnableConfigurationProperties({BaiduProperties.class, HtmlToPdf.class, TianxinProperties.class})
@MapperScan("com.zhyonk.mapper")
@MapperScan("com.zhyonk.*.mapper")
public class FaceApplication
{
    public static void main( String[] args )
    {
        SpringApplication.run(FaceApplication.class,args);
    }
}
